package com.spark.market.dal.dao;

import com.spark.market.dal.entity.PromoDo;

import javax.websocket.server.PathParam;

public interface PromoDoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PromoDo record);

    int insertSelective(PromoDo record);

    PromoDo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PromoDo record);

    int updateByPrimaryKey(PromoDo record);

    PromoDo selectByItemId(@PathParam("itemId") Integer itemId);
}